package com.hooper.constant;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2023/04/01/21:48
 */
public class SysMenuConstant {
    /**
     * 顶级菜单id
     */
    public static final Long TOP_MENU_ID = 0L;

    /**
     *  次级菜单
     */
    public static final int MENU_TYPE_SUBMENU = 2;

    /**
     *  次级菜单
     */
    public static final int MENU_TYPE_BUTTON = 2;

    /**
     *  父级彩蛋
     */
    public static final int MENU_TYPE_TOP_MENU = 1;

    /**
     * 菜单缓存key
     */
    public static final String MENU_CACHE_KEY = "oa:system:menu";

    /**
     * 菜单缓存过期时间 30分钟
     */
    public static final Long CACHE_EXPIRE_TIME = 30L;
}

